package com.example.project.model.config;

/**
 * \* Created with IntelliJ IDEA.
 * \* User: deep
 * \* Date: 17-9-15
 * \* Time: 下午12:49
 * \* To change this template use File | Settings | File Templates.
 * \* Description:
 * \
 */
public enum BaseErrorConfigEnum implements IEnum {

    APP_REQUEST_HEADER_PARAMTER_REQUIRED("1000000","请求头参数未传入必传项","APP"),



    SUCCESS("SUCCESS","未找到用户","COMMON"),
    CONVERTER_FAIL("CONVERTER_FAIL","转换错误","COMMON"),
    FAIL("FAIL","错误","COMMON"),;


    private String code;

    private String value;

    private String group;
    @Override
    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }
    @Override
    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }
    @Override
    public String getGroup() {
        return group;
    }

    @Override
    public String getCode(String value, String group) {
        return null;
    }

    @Override
    public String getValue(String code, String group) {
        return null;
    }

    public void setGroup(String group) {
        this.group = group;
    }

    BaseErrorConfigEnum(String code, String value, String group) {
        this.code = code;
        this.value = value;
        this.group = group;
    }
}